Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90022 - baselayout creates unnecessary /mnt
Summary: baselayout creates unnecessary /mnt
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High minor
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-22 02:36 UTC by Ruud Althuizen
Modified: 2005-05-14 13:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ruud Althuizen 2005-04-22 02:36:42 UTC
This bug is an adition to bug #88835, which mentions the recreation of /mnt/*. This bug is about the dir /mnt itself, not everyone uses it.

Reproducible: Always
Steps to Reproduce:
1. rm -r /mnt
2. emerge baselayout  (or emerge --update --deep world)
Actual Results:  
/mnt reappears

Expected Results:  
Not create that dir. It could e.g. read /etc/fstab to check what dirs are
actually needed.
Suggestion: If reading fstab, baselayout could create other needed /mnt dirs
as well.

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r1, 2.6.11.7 i686)
=================================================================
System uname: 2.6.11.7 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.6.11
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr  3 2005, 04:32:06)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.7.9-r1, 1.6.3, 1.9.4, 1.4_p6, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.surfnet.nl/pub/os/Linux/distr/gentoo/
ftp://ftp.nluug.nl/pub/os/Linux/distr/gentoo/ gentoo.nedlinux.nl/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib acpi alsa avi berkdb bitmap-fonts cap cddb cdparanoia cdr
cjk crypt cups curl directfb dvd dvdr dvdread emboss encode esd fam fbcon flac
foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6
java jpeg libg++ libwww mad mikmod mmx mmxext motif mozilla moznomail mp3 mpeg
ncurses nls nptl nptlonly nvidia offensive ogg oggvorbis opengl pam pdflib perl
png python quicktime readline samba sdl slang spell sse ssl svga tcpd tiff
truetype truetype-fonts type1-fonts unicode vorbis xml xml2 xmms xprint xv xvid
zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, LINGUAS
Comment 1 Roland Bär 2005-04-22 08:04:33 UTC
Refering to "Filesystem Hierarchy Standard" v2.3 
http://www.pathname.com/fhs/pub/fhs-2.3.html
----
/mnt : Mount point for a temporarily mounted filesystem
Purpose 

This directory is provided so that the system administrator may temporarily mount a filesystem as needed. The content of this directory is a local issue and should not affect the manner in which any program is run.

This directory must not be used by installation programs: a suitable temporary directory not in use by the system must be used instead.
----
So far as my interpretation, this is needed, so that root "may" mount...
Comment 2 Ruud Althuizen 2005-04-22 08:09:50 UTC
Very much true, but I don't use it (now). So why keep creating that dir anyway. Or would that just something me (and maybe others) just have to live with, or just learn to use? Because now I just use /cdrom to mount iso's when it's not in use.
Comment 3 Ciaran McCreesh 2005-04-22 09:06:37 UTC
FHS is irrelevant. We don't consider it to be an authoritative standard. Any FHS compliance we may or may not have is merely coincidental.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-04-23 02:32:04 UTC
Comment #2: Your /cdrom belongs to /media if you hate /mnt that much. Don
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-04-23 02:32:04 UTC
Comment #2: Your /cdrom belongs to /media if you hate /mnt that much. Don´t touch my /mnt :p

Comment 6 SpanKY gentoo-dev 2005-04-26 20:46:37 UTC
although i think it's a stupid idea i dont mind it

Uberlord: feel like doing it up again ?
Comment 7 SpanKY gentoo-dev 2005-05-14 13:35:34 UTC
fixed in baselayout 1.11.12