Results 1 to 4 of 4

Thread: Can I use systemd to mount a USB memory (vfat) automatically???

  1. #1

    Default Can I use systemd to mount a USB memory (vfat) automatically???

    Hi everybody!

    I'm reading this articule and then I wondered, Can I use systemd to mount a USB memory automatically when I plug it in???

    I modified /etc/fstab

    Code:
    /dev/disk/by-id/usb-General_USB_Flash_Disk_4400000000078171-0:0-part1            /mnt/Nell     vfat user,iocharset=iso8859-1,codepage=437,gid=users,umask=0002,utf8=true,nofail,comment=systemd.automount 0 0
    but it didn't do the trick then i mount it manually and mount mount it twice :-(


    any one can give a hint or tell me what I'm doing wrong?

    thanks in advance!

  2. #2
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Can I use systemd to mount a USB memory (vfat) automatically???

    Quote Originally Posted by juanp_1982 View Post
    Hi everybody!

    I'm reading this articule and then I wondered, Can I use systemd to mount a USB memory automatically when I plug it in???

    I modified /etc/fstab

    Code:
    /dev/disk/by-id/usb-General_USB_Flash_Disk_4400000000078171-0:0-part1            /mnt/Nell     vfat user,iocharset=iso8859-1,codepage=437,gid=users,umask=0002,utf8=true,nofail,comment=systemd.automount 0 0
    but it didn't do the trick then i mount it manually and mount mount it twice :-(


    any one can give a hint or tell me what I'm doing wrong?

    thanks in advance!
    But when you plug in a USB Thumb Drive, the Device Notifier (its in the icon tray and has the USB symbol in it) pops up and allows you to mount it using Dolphin. You also use this to eject the media when done so it can be removed with no data loss. If you wanted a USB thumb drive to always be mounted for some reason, you could use the YaST / System / Partitioner to mount and add it to your fstab file. Why does not one of these operations work properly for you?

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  3. #3

    Default Re: Can I use systemd to mount a USB memory (vfat) automatically???

    hi jdmcdaniel3 thanks for answering me

    both of them work just fine, the thing is that I'm learning about systemd I wanted to try new things! :-)

  4. #4
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Can I use systemd to mount a USB memory (vfat) automatically???

    Quote Originally Posted by juanp_1982 View Post
    hi jdmcdaniel3 thanks for answering me

    both of them work just fine, the thing is that I'm learning about systemd I wanted to try new things! :-)
    Here is one good link about systemd and openSUSE 12.1: openSUSE News

    And I have a blog post on adding in a after.local boot option here: systemd and using the after.local script in openSUSE 12.1 - Blogs - openSUSE Forums

    Its OK to try different things though I am not sure I would do anything for USB thumb drives.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •