[arch-commits] Commit in filesystem/trunk (PKGBUILD fstab)

Pierre Schmitz pierre at archlinux.org
Sun Oct 24 09:24:20 UTC 2010


    Date: Sunday, October 24, 2010 @ 05:24:20
  Author: pierre
Revision: 96681

Don't create cd, dvd anb fd subfolder in /media

* This mountpoint are causing problems (see https://bugs.archlinux.org/task/20894)
* Those mount point are handled by DEs/automounters differently
* We shouldn't assume users have a floppy driver, cdrom and dvd drives. Most likely they don't.

Modified:
  filesystem/trunk/PKGBUILD
  filesystem/trunk/fstab

----------+
 PKGBUILD |    3 +--
 fstab    |    5 -----
 2 files changed, 1 insertion(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-10-24 00:39:02 UTC (rev 96680)
+++ PKGBUILD	2010-10-24 09:24:20 UTC (rev 96681)
@@ -42,9 +42,8 @@
 build()
 {
   cd ${pkgdir}
-  mkdir -p bin boot dev etc home lib mnt proc root sbin tmp usr var opt srv sys
+  mkdir -p bin boot dev etc home lib media mnt proc root sbin tmp usr var opt srv sys
   chmod 555 proc
-  mkdir -p media/{fl,cd,dvd}
   mkdir -p usr/{bin,include,lib,sbin,share/misc,src}
 
   mkdir -p usr/share/man/man{1,2,3,4,5,6,7,8}

Modified: fstab
===================================================================
--- fstab	2010-10-24 00:39:02 UTC (rev 96680)
+++ fstab	2010-10-24 09:24:20 UTC (rev 96681)
@@ -4,8 +4,3 @@
 # <file system>        <dir>         <type>    <options>          <dump> <pass>
 devpts                 /dev/pts      devpts    defaults            0      0
 shm                    /dev/shm      tmpfs     nodev,nosuid        0      0
-
-/dev/cdrom             /media/cd   auto    ro,user,noauto,unhide   0      0
-/dev/dvd               /media/dvd  auto    ro,user,noauto,unhide   0      0
-/dev/fd0               /media/fl   auto    user,noauto             0      0
-




More information about the arch-commits mailing list