Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #195813

Re: setting up a drive automount in systemd?

From john doe <johndoe65534@mail.com>
Newsgroups linux.debian.user
Subject Re: setting up a drive automount in systemd?
Date 2018-05-16 21:50 +0200
Message-ID <vQaAW-5at-11@gated-at.bofh.it> (permalink)
References <vQ7MJ-3wk-3@gated-at.bofh.it> <vQ9Ye-4XA-11@gated-at.bofh.it> <vQahA-53T-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 5/16/2018 9:04 PM, dep wrote:
> On Wed, May 16, 2018 at 2:44 PM, john doe <johndoe65534@mail.com> wrote:
> 
>> On 5/16/2018 6:25 PM, dep wrote: > greetings. > > i've tried my best to search the list archives for the answer to this and have not gotten the search function to deliver . . . anything. > > here's the issue. i have one of the new "gemini" devices, a psion-like smartphone-pda-computer that runs android and linux. i'm of course running linux. the linux available for it is a derivative of stretch arm64. it uses systemd, my first encounter with that not-universally-loved arrangement. > > the device has 64gb of onboard storage and a microSD slot, in which i've placed a 128gb microSD card formatted ext4. to reduce write wear on the device's internal memory, it's my hope to put /home or at least /[users] on the microSD card. this of course requires mounting it at boot. > > i've been much of a week searching and i cannot find any way to configure this to automount in systemd. i do not even know if under systemd it must be mounted to a mountpoint or if it's handled at the /dev level. so what was once a trivial configuration has become a more complicated one, with the possibility of bricking the device -- which i'd just as soon not do. > > can anyone here either give or point to clear and i hope simple instructions for configuring the card to mount at boot? alternately, is there systemd-friendly disk management software? the disk managers i'm familiar with do not seem to work with systemd. > > thanks in advance. > I might be missing something here but why not using the fstab file? -- John Doe
> 
> because there is no /etc/fstab.
> 

1)  Fstab could be located somewhere else (find / -iname fstab -type f)
2)  What happens if you try to use /etc/fstab file?
3)  Anything in the log for a missing fstab file?
4)  Use a systemd service file to mount it at boot (Automatic mounting 
of additional volumes).

I'm on Stretch with systemd and a fstab file.

-- 
John Doe

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

setting up a drive automount in systemd? dep <dep@drippingwithirony.com> - 2018-05-16 18:50 +0200
  Re: setting up a drive automount in systemd? Joe <joe@jretrading.com> - 2018-05-16 21:00 +0200
    Re: setting up a drive automount in systemd? dep <dep@drippingwithirony.com> - 2018-05-16 21:10 +0200
  Re: setting up a drive automount in systemd? john doe <johndoe65534@mail.com> - 2018-05-16 21:10 +0200
    Re: setting up a drive automount in systemd? dep <dep@drippingwithirony.com> - 2018-05-16 21:30 +0200
      Re: setting up a drive automount in systemd? john doe <johndoe65534@mail.com> - 2018-05-16 21:50 +0200
        Re: setting up a drive automount in systemd? Darac Marjal <mailinglist@darac.org.uk> - 2018-05-17 13:00 +0200
          Re: setting up a drive automount in systemd? Mark Fletcher <mark27q1@gmail.com> - 2018-05-18 01:40 +0200

csiph-web