pacman.confの長いNoExtractをどのように短く書いていても、人間が読めるようにすることはできますか?

pacman.confの長いNoExtractをどのように短く書いていても、人間が読めるようにすることはできますか?

必要Arch Linuxシステムは最小限のディスク容量を占めています。、私はそうだったエキスなしマシンが絶対に使用しない多くのハードウェアが含まれていますusr/lib/modules/drivers/

例は次のとおりです。パックマン.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はシェルスタイルのワイルドカードをサポートしているようです。、この長いNoExtract文字列をはるかに短く書いていて、まだ人が読むことができるかどうか疑問に思います。

ベストアンサー1

おすすめ記事