Page 1 of 1

usb_inst.sh should remove /mnt/usbstick that it created

Posted: 29 Nov 2013, 15:14
by dhaines
I believe that users would appreciate it if usb_inst.sh were to clean up after itself and rmdir /mnt/usbstick if it was created. I know that I would. Alternatively, you might consider just using "mktemp -d" to always make a throwaway mountpoint (and then delete it, I suppose).

Re: usb_inst.sh should remove /mnt/usbstick that it created

Posted: 17 Jun 2014, 19:47
by BobBib
I second that, "/mnt/usbstick" is a bit inconvenient. Why not "/media/usbstick"?

dhaines wrote:you might consider just using "mktemp -d" to always make a throwaway mountpoint

And this sounds even better.