Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #257411
| From | David Christensen <dpchrist@holgerdanske.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: /etc/fstab question (problem)? |
| Date | 2023-04-20 00:10 +0200 |
| Message-ID | <Gmo9X-3ad8-5@gated-at.bofh.it> (permalink) |
| References | (7 earlier) <Gmc8N-334y-1@gated-at.bofh.it> <GmdRf-347G-3@gated-at.bofh.it> <GmmhP-394m-17@gated-at.bofh.it> <GmndT-39D9-23@gated-at.bofh.it> <Gmnxg-39KT-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 4/19/23 14:26, Default User wrote: > On Wed, 2023-04-19 at 14:03 -0700, David Christensen wrote: >> On 4/19/23 13:06, Default User wrote: >>> On Wed, 2023-04-19 at 18:07 +0700, Max Nikulin wrote: >>>> Perhaps update-initramfs is necessary after restoring of >>>> /etc/fstab >>>> in >>>> any chosen approach. >> But, I cannot address Max's point about initrd(4). >> >> >> At this point, I would run my daily backups, use an editor to put the >> original /etc entry back into /etc/fstab, forget about messing with >> /etc >> on either file system, and reboot. After reboot, I would run 'df >> /etc' >> and check where /etc is mounted. If /etc is "Mounted on /", I would >> run >> update-initramfs(8), reboot, and look again. > I'm afraid I don't quit understand why 'If /etc is "Mounted on /", I > would run update-initramfs(8), reboot, and look again." > > > Shouldn't etc always be expected to be mounted under /, as in /etc? > For example, right now on my computer: > > df /etc > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/nvme0n1p2 23854928 5841492 16776344 26% / /etc is a subdirectory of the / directory on the Unix "one big file system". Some file system must be mounted at /. Additional file systems must be mounted somewhere beneath /. Where they are mounted is call the "mountpoint". Mountpoints are traditionally subdirectories, and traditionally empty. When a file system is mounted there, the root of that file system is visible as the contents of the mountpoint. On my system, the virtual device /dev/mapper/sda4_crypt has a mount point of /. That file system contains a directory /etc. So, in the Unix "one big file system", the directories / and /etc both come from the file system on /dev/mapper/sda4_crypt. 2023-04-19 14:38:19 root@taz ~ # df / /etc Filesystem 1M-blocks Used Available Use% Mounted on /dev/mapper/sda4_crypt 11145M 7016M 3542M 67% / /dev/mapper/sda4_crypt 11145M 7016M 3542M 67% / AIUI you want the file system on the the partition /dev/nvme0n1p5 to be mounted at /tmp. The way to do that is to put the relevant entry back into /etc/fstab: UUID=6a105a72-f5d5-441b-b926-1e405151ee84 /tmp ext4 defaults 0 2 And then reboot. > And, would there be anything wrong with, either way, running update- > initramfs? > > Would that be run as: > > sudo update-initramfs -uv > > ? Unfortunately, more confusion -- there are two Linux "Initial ramdisk" solutions with very similar names -- initrd and initramfs. Forget about those for now. I would add the /etc entry back into /etc/fstab, reboot, run 'df / /etc', and see what happens. David
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
/etc/fstab question (problem)? Default User <hunguponcontent@gmail.com> - 2023-04-18 17:00 +0200
Re: /etc/fstab question (problem)? Charles Curley <charlescurley@charlescurley.com> - 2023-04-18 17:40 +0200
Re: /etc/fstab question (problem)? Max Nikulin <manikulin@gmail.com> - 2023-04-18 19:00 +0200
Re: /etc/fstab question (problem)? <tomas@tuxteam.de> - 2023-04-18 21:10 +0200
Re: /etc/fstab question (problem)? Tom Furie <tom@furie.org.uk> - 2023-04-18 23:20 +0200
Re: /etc/fstab question (problem)? <tomas@tuxteam.de> - 2023-04-19 06:40 +0200
tmp on tmpfs Max Nikulin <manikulin@gmail.com> - 2023-04-19 08:20 +0200
Re: tmp on tmpfs <tomas@tuxteam.de> - 2023-04-19 08:40 +0200
Re: tmp on tmpfs Nicolas George <george@nsup.org> - 2023-04-19 09:00 +0200
Re: tmp on tmpfs tomas@tuxteam.de - 2023-04-19 10:00 +0200
Re: tmp on tmpfs Celejar <celejar@gmail.com> - 2023-04-24 18:20 +0200
Re: tmp on tmpfs <tomas@tuxteam.de> - 2023-04-24 19:10 +0200
Re: tmp on tmpfs Celejar <celejar@gmail.com> - 2023-04-24 19:40 +0200
Re: tmp on tmpfs Celejar <celejar@gmail.com> - 2023-04-24 18:20 +0200
Re: tmp on tmpfs Max Nikulin <manikulin@gmail.com> - 2023-04-19 13:10 +0200
Re: tmp on tmpfs <tomas@tuxteam.de> - 2023-04-19 20:10 +0200
Re: tmp on tmpfs songbird <songbird@anthive.com> - 2023-04-20 15:00 +0200
Re: tmp on tmpfs Vincent Lefevre <vincent@vinc17.net> - 2023-04-20 16:20 +0200
Re: tmp on tmpfs <tomas@tuxteam.de> - 2023-04-20 16:30 +0200
Re: tmp on tmpfs Vincent Lefevre <vincent@vinc17.net> - 2023-04-20 17:20 +0200
Re: tmp on tmpfs Jeffrey Walton <noloader@gmail.com> - 2023-04-20 16:30 +0200
Re: tmp on tmpfs <tomas@tuxteam.de> - 2023-04-20 16:40 +0200
Re: /etc/fstab question (problem)? songbird <songbird@anthive.com> - 2023-04-18 18:00 +0200
Re: /etc/fstab question (problem)? David Christensen <dpchrist@holgerdanske.com> - 2023-04-18 22:10 +0200
Re: /etc/fstab question (problem)? Default User <hunguponcontent@gmail.com> - 2023-04-18 23:50 +0200
Re: /etc/fstab question (problem)? Greg Wooledge <greg@wooledge.org> - 2023-04-19 00:00 +0200
Re: /etc/fstab question (problem)? David Christensen <dpchrist@holgerdanske.com> - 2023-04-19 02:00 +0200
Re: /etc/fstab question (problem)? Default User <hunguponcontent@gmail.com> - 2023-04-19 03:20 +0200
Re: /etc/fstab question (problem)? Charles Curley <charlescurley@charlescurley.com> - 2023-04-19 04:50 +0200
Re: /etc/fstab question (problem)? David Christensen <dpchrist@holgerdanske.com> - 2023-04-19 05:00 +0200
Re: /etc/fstab question (problem)? David Wright <deblis@lionunicorn.co.uk> - 2023-04-19 05:10 +0200
Re: /etc/fstab question (problem)? Stefan Monnier <monnier@iro.umontreal.ca> - 2023-04-19 05:20 +0200
Re: /etc/fstab question (problem)? David Christensen <dpchrist@holgerdanske.com> - 2023-04-19 11:20 +0200
Re: /etc/fstab question (problem)? Max Nikulin <manikulin@gmail.com> - 2023-04-19 13:10 +0200
Re: /etc/fstab question (problem)? Default User <hunguponcontent@gmail.com> - 2023-04-19 22:10 +0200
Re: /etc/fstab question (problem)? David Wright <deblis@lionunicorn.co.uk> - 2023-04-19 22:40 +0200
Re: /etc/fstab question (problem)? Default User <hunguponcontent@gmail.com> - 2023-04-19 23:00 +0200
Re: /etc/fstab question (problem)? Default User <hunguponcontent@gmail.com> - 2023-04-19 23:10 +0200
Re: /etc/fstab question (problem)? davidson <davidson@freevolt.org> - 2023-04-20 01:50 +0200
Re: /etc/fstab question (problem)? Default User <hunguponcontent@gmail.com> - 2023-04-20 03:50 +0200
Re: /etc/fstab question (problem)? songbird <songbird@anthive.com> - 2023-04-20 15:10 +0200
Re: /etc/fstab question (problem)? rhkramer@gmail.com - 2023-04-21 11:10 +0200
Re: /etc/fstab question (problem)? Greg Wooledge <greg@wooledge.org> - 2023-04-21 13:20 +0200
gitification (was Re: /etc/fstab question (problem)? songbird <songbird@anthive.com> - 2023-04-20 15:00 +0200
Re: gitification (was Re: /etc/fstab question (problem)? Stefan Monnier <monnier@iro.umontreal.ca> - 2023-04-20 15:40 +0200
Re: gitification (was Re: /etc/fstab question (problem)? songbird <songbird@anthive.com> - 2023-04-20 20:40 +0200
Re: gitification (was Re: /etc/fstab question (problem)? Stefan Monnier <monnier@iro.umontreal.ca> - 2023-04-20 22:10 +0200
Re: gitification (was Re: /etc/fstab question (problem)? songbird <songbird@anthive.com> - 2023-04-21 00:50 +0200
Re: gitification (was Re: /etc/fstab question (problem)? Jeremy Ardley <jeremy@ardley.org> - 2023-04-21 01:10 +0200
Re: gitification (was Re: /etc/fstab question (problem)? songbird <songbird@anthive.com> - 2023-04-21 19:50 +0200
Re: gitification (was Re: /etc/fstab question (problem)? Jeremy Ardley <jeremy@ardley.org> - 2023-04-20 15:40 +0200
Re: gitification (was Re: /etc/fstab question (problem)? Max Nikulin <manikulin@gmail.com> - 2023-04-20 17:30 +0200
Re: gitification (was Re: /etc/fstab question (problem)? songbird <songbird@anthive.com> - 2023-04-20 20:30 +0200
Re: gitification (was Re: /etc/fstab question (problem)? Max Nikulin <manikulin@gmail.com> - 2023-04-22 08:40 +0200
Re: gitification (was Re: /etc/fstab question (problem)? David Christensen <dpchrist@holgerdanske.com> - 2023-04-20 22:50 +0200
Re: gitification (was Re: /etc/fstab question (problem)? songbird <songbird@anthive.com> - 2023-04-21 00:50 +0200
Re: gitification (was Re: /etc/fstab question (problem)? David Christensen <dpchrist@holgerdanske.com> - 2023-04-21 04:40 +0200
Re: /etc/fstab question (problem)? Dan Ritter <dsr@randomstring.org> - 2023-04-19 22:40 +0200
Re: /etc/fstab question (problem)? David Christensen <dpchrist@holgerdanske.com> - 2023-04-19 23:10 +0200
Re: /etc/fstab question (problem)? Default User <hunguponcontent@gmail.com> - 2023-04-19 23:30 +0200
Re: /etc/fstab question (problem)? David Christensen <dpchrist@holgerdanske.com> - 2023-04-20 00:10 +0200
Re: /etc/fstab question (problem)? David Christensen <dpchrist@holgerdanske.com> - 2023-04-20 00:20 +0200
[SOLVED] Re: /etc/fstab question (problem)? Default User <hunguponcontent@gmail.com> - 2023-04-20 02:30 +0200
Re: [SOLVED] Re: /etc/fstab question (problem)? David Christensen <dpchrist@holgerdanske.com> - 2023-04-20 03:00 +0200
Re: /etc/fstab question (problem)? Max Nikulin <manikulin@gmail.com> - 2023-04-21 17:20 +0200
Re: /etc/fstab question (problem)? David Christensen <dpchrist@holgerdanske.com> - 2023-04-22 00:50 +0200
Re: /etc/fstab question (problem)? David Wright <deblis@lionunicorn.co.uk> - 2023-04-22 17:30 +0200
Re: /etc/fstab question (problem)? David Christensen <dpchrist@holgerdanske.com> - 2023-04-23 04:00 +0200
Re: /etc/fstab question (problem)? David Wright <deblis@lionunicorn.co.uk> - 2023-04-23 06:20 +0200
Re: /etc/fstab question (problem)? David Christensen <dpchrist@holgerdanske.com> - 2023-04-23 10:20 +0200
Re: /etc/fstab question (problem)? Celejar <celejar@gmail.com> - 2023-04-24 18:30 +0200
Re: /etc/fstab question (problem)? David Wright <deblis@lionunicorn.co.uk> - 2023-04-25 15:00 +0200
old memory sticks (was Re: /etc/fstab question (problem)? songbird <songbird@anthive.com> - 2023-04-23 17:20 +0200
[SOLVED]: old memory sticks songbird <songbird@anthive.com> - 2023-04-24 03:50 +0200
Re: /etc/fstab question (problem)? songbird <songbird@anthive.com> - 2023-04-20 15:10 +0200
Re: /etc/fstab question (problem)? Max Nikulin <manikulin@gmail.com> - 2023-04-20 17:20 +0200
Re: /etc/fstab question (problem)? David Wright <deblis@lionunicorn.co.uk> - 2023-04-21 06:30 +0200
Re: /etc/fstab question (problem)? <tomas@tuxteam.de> - 2023-04-21 06:50 +0200
Re: /etc/fstab question (problem)? Default User <hunguponcontent@gmail.com> - 2023-04-20 16:30 +0200
Re: /etc/fstab question (problem)? David Wright <deblis@lionunicorn.co.uk> - 2023-04-19 22:40 +0200
Re: /etc/fstab question (problem)? Default User <hunguponcontent@gmail.com> - 2023-04-19 22:40 +0200
csiph-web