How to mount an internal hdd partition without user authentication?
Hello, slackers! :)
I have a slack 14 machine with two hdd-s, one with system gets mounted upon boot by fstab, and the other manually through dolphin. Annoingly, every first time after boot i try to mount a partition of a second hdd, it asks for the user password - how to change that? I guess udev/policykit i culprit here. It is probably easy to solve, just where to start? Thanks for any info! Cheers! |
Put a line for it with in /etc/fstab with:
noauto,user in fourth field. |
No-no, i'd better not mount my second hdd by fstab, i'm only occasionally using it, it is mostly just a backup drive. That's kde policykit authentication asking for a password, though my user is already on all required groups: plugdev, wheel. There must be an another way to achieve passwordless mount with dolphin?
|
With "noauto" it won't be mounted at boot, only on demand. Or do I miss something?
EDIT plus, you can identify it by LABEL or UUID in the first field so that it always uses the same mount point. |
Ok, sorry i didn't realized this about 'noauto'. I was hoping for info on how to configure pol.-kit in kde for painless mounting. Noauto will do, just, i fear the same question arises when i plug in an usb hdd.
|
Quote:
PS identifying devices by label or uuid is mostly useful for removable ones, like USB HDD or USB sticks. |
I believe USB HDDs will mount just fine.
You can always use su in a terminal and do a mount by hand. Ex: mkdir /mnt/sda2 mount -t ext3 /dev/sda2 /mnt/sda2 .... http://en.wikipedia.org/wiki/Filesystem_in_Userspace http://fuse.sourceforge.net/ |
All times are GMT -5. The time now is 03:43 AM. |