Symlink USB drive in home.
Posted: Sun 19 May 2013, 11:55
Hi
I've remastered Precise 5.5 for a specific task that involves a java application and I have a small problem that I need some advice about. (I need this to run from a live CD.)
Basically, the java application loads an XML file which describes a pipe organ. That's fine if the organ file has been mastered in to the CD, but if it is just sitting on a USB drive, the user has to navigate to the mount point to see the files on the USB drive - and most users will not know how to do this.
What I'm thinking about is the feasibility of having pup_event_frontend_d create a symlink in /home to the usb drive mount point when it creates the pinboard entry and remove the symlink when the pinboard entry is removed. This means the users will see the symlink when they use the open function in the application and can go straight to the drive.
I guess my questions are:
1. Is this a reasonable idea?
2. Is this the best place to handle it?
3. Is there an existing solution for this?
4. Am I mad?
Regards
Graham
I've remastered Precise 5.5 for a specific task that involves a java application and I have a small problem that I need some advice about. (I need this to run from a live CD.)
Basically, the java application loads an XML file which describes a pipe organ. That's fine if the organ file has been mastered in to the CD, but if it is just sitting on a USB drive, the user has to navigate to the mount point to see the files on the USB drive - and most users will not know how to do this.
What I'm thinking about is the feasibility of having pup_event_frontend_d create a symlink in /home to the usb drive mount point when it creates the pinboard entry and remove the symlink when the pinboard entry is removed. This means the users will see the symlink when they use the open function in the application and can go straight to the drive.
I guess my questions are:
1. Is this a reasonable idea?
2. Is this the best place to handle it?
3. Is there an existing solution for this?
4. Am I mad?
Regards
Graham