Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.