begin luke macneil quotation:
[-- Autoview using /usr/bin/lynx -dump -force_html ''/tmp/mutt.html'' --]
/etc/rc.d/rc.local is almost the equivalent to autoexec.bat in dos. at your "mount -t msdos /dev/hd? /mnt/windows" line at the bottom of rc.local, and after all the startup processes are initialized, that file will run all commands at the bottom.
The file is written in code, but dont worry about that, just scroll
assuming you call shell scripting code...
down to the end, and add your command.
I'd definitely recommend -t vfat over -t msdos, and /etc/fstab over /etc/rc* -- Aaron Haviland orion [at] tribble [dot] dyndns [dot] org orion [at] parsed [dot] net This IS a sig.
Aaron Haviland wrote:
I'd definitely recommend -t vfat over -t msdos, and /etc/fstab over /etc/rc*
As it turns out, I couldn't find rc.local, so I went with /etc/fstab. SuSE was already calling my dos and windows partitions 'vfat' so I didn't see any reason to argue with it. It worked the first time, too. Thanks, Greg
On Wednesday 13 February 2002 01:36 am, Gregory Avedissian wrote:
Aaron Haviland wrote:
I'd definitely recommend -t vfat over -t msdos, and /etc/fstab over /etc/rc*
As it turns out, I couldn't find rc.local, so I went with /etc/fstab. SuSE was already calling my dos and windows partitions 'vfat' so I didn't see any reason to argue with it. It worked the first time, too.
I agree that /etc/fstab is the right place to do this sort of thing, and I'm glad to hear that you got it to work the first time. Who ever said that Linux was hard?! FYI: regarding the reference to a file called rc.local. On a SuSE system, it is called /etc/rc.d/rc and one shouldn't muck with it unless one really knows what is going on. It is part of a set of programs called "init scripts" which get executed when booting or shuting down the computer. Later, Andy -- Andy Stewart Founder Worcester Linux Users' Group Worcester, MA, USA http://www.wlug.org
Andy Stewart wrote:
I agree that /etc/fstab is the right place to do this sort of thing,
I too
FYI: regarding the reference to a file called rc.local. On a SuSE system, it is called /etc/rc.d/rc and one shouldn't muck with it unless one really knows what is going on. It is part of a set of programs called "init scripts" which get executed when booting or shuting down the computer.
I believe the file /etc/init.d/boot.local is the SuSE equivalent of rc.local, at least boot.local is "where you can enter additional commands to be executed at boot time before changing to a run level" (cf 7.2 manual, page 313) doug
participants (5)
-
Aaron Haviland
-
Andy Stewart
-
doug waud
-
Gregory Avedissian
-
luke macneil