Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] run on startup, but not too early



stephen@example.com wrote:
Charles Muller writes:

 > > Edit /etc/rc.d/rc.local and put the mount commands in there.  (Linux
 > > gurus would instead put a script in init.d and link it from each of the
 > > rc.d directories, but that always seems like too much work to me.)
> > That does it just fine--thanks.

You probably will never regret this at all, but if you ever do regret
it, it'll be bigtime---because you've forgotten that this ever didn't
work.  Not even Darren will remember that he told you to put it in
rc.local if it comes to that. :)  The right place for information
about automatic mounts is fstab.

Since Jim and Boty have already made the same suggestion, I guess I'd better deal with it properly. The relevant portion of my fstab, which is working fine now, is this:

/dev/sda2 /mnt/win_c vfat noauto,users,umask=000,uid=chuck,gid=chuck 0 0
/dev/sda5 /mnt/win_d vfat noauto,users,uid=chuck,gid=chuck,exec,umask=000 0 0
/dev/sda6 /mnt/win_e vfat noauto,users,uid=chuck,gid=chuck,umask=000 0 0
/dev/sdb1 /mnt/usbdrv vfat noauto,users,umask=000,uid=chuck,gid=chuck 0 0


If, however, I change, for example /mnt/win_d and /mnt/usbdrv to this (i.e., simply changing "noauto" to "auto"):


/dev/sda5 /mnt/win_d vfat auto,users,uid=chuck,gid=chuck,exec,umask=000 0 0

/dev/sdb1 /mnt/usbdrv vfat auto,users,umask=000,uid=chuck,gid=chuck 0 0


...then these two partitions will be unwritable. If you look at the drive permissions, it will say that they *are* writable, but in fact you can't write to them. The other odd thing about it is that their creation date is listed as "1970" instead of 2006 as it should be.


Chuck

---------------------------
Charles Muller

Toyo Gakuen University
Faculty of Humanities
1660 Hiregasaki, Nagareyama-shi
Chiba 270-0161 JAPAN
Mobile Phone: 090-9310-1787

Web Site: Resources for East Asian Language and Thought
http://www.acmuller.net

<acmuller[at]jj.em-net.ne.jp>



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links