Jump to content

automount USB


Ghulam Yaseen

automount USB1  

1 member has voted

  1. 1. automount USB1

    • hi
      0
    • hi1
      1


Recommended Posts

Hello Embarassed ,

 

i am trying to implement auto mount of my USB drive but am unable to do so. the method that i am trying is below

=============

mkfs.ext2 /dev/sda1

vi /etc/auto.master

adding

/removable /etc/auto.removable --timeout=4

vi /etc/auto.removable

removable -fstype=ext2,rw,defaults :/dev/sda1

service autofs restart

=============

i am getting this message after i restart autofs

 

tail -f /var/log/messages

Oct 10 10:02:12 station108 kernel: SELinux: initialized (dev autofs, type autofs), uses genfs_contexts

 

i can find /removable but when i try

[root@station108 removable]# mkdir yaseen

mkdir: cannot create directory `yaseen': Permission denied

 

and when i do df -h then i can not find usb in that, please help

Rolling Eyes

Link to comment
https://forums.phpfreaks.com/topic/128128-automount-usb/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.