someonenearHim
10-29-2001, 02:18 AM
I want some commmand like 'mount -t vfat /dev/hda1 /mnt/win' to be executed when Linux starts up.Where do i add them ?Can i use the GUI ?
|
Click to See Complete Forum and Search --> : Automatic execution on startup. someonenearHim 10-29-2001, 02:18 AM I want some commmand like 'mount -t vfat /dev/hda1 /mnt/win' to be executed when Linux starts up.Where do i add them ?Can i use the GUI ? Gaccm 10-29-2001, 02:36 AM it depends what distro you are using, but all distros have what is called "rc" files. For most distros there is a directory /etc/rc.d (or something like this) with files that get executed at start time, just add your command to any of them (or create a new one, called rc.mytweaks). If you use debian, the /etc/rc[1-6].d files are all links to /etc/init.d. Just edit one of the files there (or better yet, create a new file solely for your tweaks [but make sure to have it linked in from /etc/rc[1-6].d)). carlywarly 10-29-2001, 02:58 AM Can't you go into /etc/fstab and add the option auto for that mount point? Should work. justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |