在需要一个Arch Linux 系统占用的磁盘空间最小,我做了无提取物包括很多usr/lib/modules
....../drivers/
机器永远不会使用的硬件。
一个例子来自pacman.conf:
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/drivers/atm*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/drivers/bluetooth*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/drivers/cdrom*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/drivers/firewire*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/drivers/infiniband*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/drivers/input/joydev*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/drivers/input/gameport*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/drivers/input/joystick*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/drivers/isdn*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/drivers/ipack*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/drivers/md*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/drivers/media*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/drivers/net/caif*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/drivers/net/can*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/drivers/net/dsa*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/drivers/net/hamradio*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/drivers/net/ieee802154*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/drivers/net/irda*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/drivers/net/wireless*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/drivers/net/wimax*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/drivers/nfc*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/drivers/parport*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/drivers/pcmcia*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/drivers/platform/chrome*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/drivers/thunderbolt*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/drivers/usb/atm*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/drivers/uwb*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/net/6lowpan*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/net/802*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/net/9p*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/net/atm*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/net/bluetooth*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/net/batman-adv*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/net/ax25*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/net/caif*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/net/can*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/net/dsa*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/net/hsr*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/net/ieee802154*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/net/irda*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/net/mac802154*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/net/nfc*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/net/rfkill*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/net/sunrpc*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/net/wimax*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/net/wireless*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/net/xfrm*
NoExtract = usr/lib/modules/[1-9]*-ARCH/kernel/sound/*
因为pacman.conf 似乎支持 shell 风格的通配符,我想知道这个长的 NoExtract 字符串是否可以写得明显更短并且仍然可供人类阅读?