search on lynty.com

Related Articles

lfs notes

Print PDF

LFS notes

1.
To check if your host system uses custom enhancements, run the following command

-- debugfs -R feature /dev/<xxx> --


2.
Make this directory writable and sticky. “Sticky” means that even if multiple users have write permission on a
directory, only the owner of a file can delete the file within a sticky directory. The following command will enable
the write and sticky modes:

-- chmod -v a+wt $LFS/sources --


3.

-k /dev/null

This parameter prevents possible copying of files from a skeleton directory (default is /etc/skel) by changing
the input location to the special null device

-- useradd -s /bin/bash -g lfs -m -k /dev/null lfs --





 

Related Articles+