|
From: Keith M. <kei...@us...> - 2011-05-09 04:38:50
|
On 09/05/11 05:14, LRN wrote: > You can make a batch file or a script that fills /etc/fstab with correct > paths (since the letter of the USB drive is generally not known until > you plug it) before running msys. The place to do it is within /etc/profile, (as a conditional call out to a support script, e.g. in /etc/profile.d/ -- no, that doesn't exist in a current default MSYS installation, but it's trivial to add). I've already begun development of the appropriate implementation for use in my own set up; I'll share it, when I've completed it. > You can even make a shell script do that, and then call `mount -a' in > Msys to mount new directories. I don't recall that I provided a `mount -a' option when I wrote the current MSYS implementation of mount, (and I see no evidence of it within the code itself). Indeed, such an option would be pointless, since mounting is achieved automatically, when /etc/fstab is written. -- Regards, Keith. |