文件操作 - dracut.conf
返回文件管理
返回主菜单
删除本文件
文件: /root/sh/etc/dracut.conf
编辑文件内容
# PUT YOUR CONFIG HERE OR IN separate files named *.conf # in /etc/dracut.conf.d # SEE man dracut.conf(5) # Sample dracut config file #logfile=/var/log/dracut.log #fileloglvl=6 # Exact list of dracut modules to use. Modules not listed here are not going # to be included. If you only want to add some optional modules use # add_dracutmodules option instead. #dracutmodules+="" # dracut modules to omit #omit_dracutmodules+="" # dracut modules to add to the default #add_dracutmodules+="" # additional kernel modules to the default add_drivers+="osdblk virtio_blk sx8 rbd brd aoe mtip32xx pktcdvd floppy nvme loop xen-blkfront null_blk sr_mod aacraid scsi_tgt qla2xxx initio megaraid_sas iscsi_tcp scsi_debug raid_class ufshcd-pci ufshcd libsas 3w-9xxx cxgb4i cxgb3i libcxgbi scsi_transport_fc osst libfcoe fcoe libosd osd 3w-sas mpt3sas lpfc bfa st hpsa mvsas pm80xx scsi_transport_iscsi be2iscsi sg vmw_pvscsi libiscsi_tcp libsrp stex isci hptiop aic79xx scsi_transport_sas libiscsi mpt2sas fnic hv_storvsc qla4xxx mvumi scsi_transport_srp ses pmcraid arcmsr sd_mod ch bnx2i iscsi_boot_sysfs libfc virtio_scsi scsi_transport_spi bnx2fc mptspi mptscsih mptbase mptctl mptsas pata_pdc202xx_old sata_sil pata_artop pata_acpi pata_cmd64x pata_jmicron ahci pata_ninja32 pata_atiixp pata_it8213 ata_piix pata_it821x sata_mv pata_via libahci pata_hpt366 pata_sis sata_sx4 sata_sil24 pata_hpt3x2n libata pata_sil680 pdc_adma sata_via pata_rdc sata_qstor pata_netcell pata_arasan_cf ahci_platform pata_sch pata_ali pata_serverworks pata_marvell sata_promise sata_nv pata_hpt37x sata_uli pata_hpt3x3 ata_generic pata_atp867x pata_piccolo pata_cs5536 pata_pdc2027x sata_svw sata_sis sata_vsc acard-ahci pata_amd pata_oldpiix" # list of kernel filesystem modules to be included in the generic initramfs #filesystems+="" # build initrd only to boot current hardware #hostonly="yes" # # install local /etc/mdadm.conf #mdadmconf="no" # install local /etc/lvm/lvm.conf #lvmconf="no" # A list of fsck tools to install. If it's not specified, module's hardcoded # default is used, currently: "umount mount /sbin/fsck* xfs_db xfs_check # xfs_repair e2fsck jfs_fsck reiserfsck btrfsck". The installation is # opportunistic, so non-existing tools are just ignored. #fscks="" # inhibit installation of any fsck tools #nofscks="yes" # mount / and /usr read-only by default #ro_mnt="no" # set the directory for temporary files # default: /var/tmp #tmpdir=/tmp
修改文件时间
将文件时间修改为当前时间的前一年
删除文件