Mount var and home

Moderators: mdrjr, odroid

Mount var and home

Unread postby extphy » Fri Jun 01, 2018 1:14 am

Hi, what is the best momenta to remount var and home to some partitions other than rootfs?
extphy
 
Posts: 70
Joined: Mon Aug 17, 2015 4:20 pm
languages_spoken: english, russian
ODROIDs: Cx, XU4, U3

Re: Mount var and home

Unread postby rpcameron » Fri Jun 01, 2018 3:41 am

Mounting of partitions usually happens as part of init. Depending upon which init is being used changes how that's achieved. Since you're posting in Ubuntu, you're probably using systemd. Check its manpages to see how systemd handles filesystem mounts.

Most systems usually honor the fstab file, so that's also a good place to start.
rpcameron
 
Posts: 277
Joined: Sat Apr 30, 2016 7:24 am
languages_spoken: english
ODROIDs: C2

Re: Mount var and home

Unread postby extphy » Fri Jun 01, 2018 3:47 am

rpcameron wrote:Mounting of partitions usually happens as part of init. Depending upon which init is being used changes how that's achieved. Since you're posting in Ubuntu, you're probably using systemd. Check its manpages to see how systemd handles filesystem mounts.

Most systems usually honor the fstab file, so that's also a good place to start.


Thanks! Obviously init / upstart / systemd man would help. Wondering do you have some experience with buildroot? Per my understanding it use busybox by default
extphy
 
Posts: 70
Joined: Mon Aug 17, 2015 4:20 pm
languages_spoken: english, russian
ODROIDs: Cx, XU4, U3


Return to Ubuntu

Who is online

Users browsing this forum: Bing [Bot] and 0 guests