| MEPIS This forum is for the discussion of MEPIS Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-20-2005, 03:45 PM
|
#1
|
|
LQ Newbie
Registered: May 2005
Location: Dublin, IE
Distribution: Kubuntu & Debian Sarge
Posts: 8
Rep:
|
fstab changes lost after reboot
Not sure if this is caused by Mepis or not... I'm attempting to automatically mount my hdc1 and hdd1 drives when Mepis starts. I've modified their entries to the following in /etc/fstab:
/dev/hdc1 /mnt/hdc1 vfat auto,users,exec,umask=000 0 0
/dev/hdd1 /mnt/hdd1 vfat auto,users,exec,umask=000 0 0
However, when I restart the computer, the "auto" entry changes back to "noauto". Any idea what is causing this?
Full fstab file:
# Static entries below, do not use 'users' option in this area
/dev/hda6 / ext3 defaults,noatime 1 1
/dev/hda5 swap swap sw,pri=1 0 0
none /proc proc defaults 0 0
none /proc/bus/usb usbfs devmode=0666 0 0
none /dev/pts devpts mode=0622 0 0
none /sys sysfs defaults 0 0
# Dynamic entries below, identified by 'users' option
/dev/hda1 /mnt/hda1 ntfs noauto,users,exec,ro,umask=0222 0 0
/dev/hdc1 /mnt/hdc1 vfat noauto,users,exec,umask=000 0 0
/dev/hdd1 /mnt/hdd1 vfat noauto,users,exec,umask=000 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,users,dev,ro 0 0
/dev/floppy /mnt/floppy vfat,ext2,hfsplus noauto,users,dev,sync,dirsync 0 0
|
|
|
|
09-20-2005, 04:34 PM
|
#2
|
|
Member
Registered: May 2005
Location: Orlando, Fl
Distribution: ArchLinux (Can use any distro though)
Posts: 231
Rep:
|
move them above the dynamic entries line, everything below gets regenerated on boot
|
|
|
|
09-20-2005, 04:38 PM
|
#3
|
|
Moderator
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,505
Rep: 
|
It is not the dynamic entries line that matters, but the "users" option in the mounting option. It's stupid that Mepis uses "users", when "managed" is used by fstab-sync and others. I say it's stupid not because it's different but because users has a long recognized meaning of allowing ANY user to mount/unmount the drive in question.
Long story short: remove the "users," option.
|
|
|
|
09-20-2005, 05:54 PM
|
#4
|
|
Member
Registered: May 2005
Location: Orlando, Fl
Distribution: ArchLinux (Can use any distro though)
Posts: 231
Rep:
|
no you can leave the users option alone, only things below it are considered valid. As the op of #mepis I deal with this question quite frequently, only that which is below that comment is mannaged. the users line is irrelevent.
|
|
|
|
09-20-2005, 09:07 PM
|
#5
|
|
Moderator
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,505
Rep: 
|
Then the comment in the file ("# Dynamic entries below, identified by 'users' option") is very poorly phrased. It implies, to me anyway, that the 'users' field is key.
I have to wonder what kind of affect modifying/adding comments in fstab has on the Mepis management software.
|
|
|
|
09-20-2005, 09:12 PM
|
#6
|
|
Member
Registered: May 2005
Location: Orlando, Fl
Distribution: ArchLinux (Can use any distro though)
Posts: 231
Rep:
|
editing that line, or just deleting it all together makes the whole thing set in stone, and screws up hardware detection
|
|
|
|
09-20-2005, 09:31 PM
|
#7
|
|
Moderator
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,505
Rep: 
|
Interesting. Seems pretty inefficient to me, but to each their own.
|
|
|
|
09-21-2005, 03:44 AM
|
#8
|
|
LQ Newbie
Registered: May 2005
Location: Dublin, IE
Distribution: Kubuntu & Debian Sarge
Posts: 8
Original Poster
Rep:
|
Okay, so I see how adding hdc and hdd to the static portion of fstab should do what I'm trying to do (automatically mount the drives at startup). However, what hardware detection features will I be screwing up? Is there another way, possibly within the user interface, to get these drives to automatically mount?
On a side note, it seems logical that Mepis should mount these drives automatically. (I'm running Debian Sarge on another system and all hard drives come up mounted when I boot the computer.) Before looking into logging a Mepis enhancement request, can someone confirm/refute that Mepis does not/does mount extra drives? Just want to confirm that it's the distro and not me. 
|
|
|
|
09-21-2005, 03:04 PM
|
#9
|
|
Member
Registered: May 2005
Location: Orlando, Fl
Distribution: ArchLinux (Can use any distro though)
Posts: 231
Rep:
|
it does not automount anything but / and /home thats something you would have to take up with warren.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:42 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|