Edited, memorised or added to reading list

on 30-Jan-2019 (Wed)

Do you want BuboFlash to help you learning these things? Click here to log in or create user.

Effect of fixed elements
statusnot read reprioritisations
last reprioritisation on reading queue position [%]
started reading on finished reading on

pdf

cannot see any pdfs




Flashcard 3810995866892

Question
In linux, an [...] , is a data-structure that has a unique id and hold all infomration about a file (all its metadata and its data blocks location on disk).
Answer

inode

^^ the i stands for index


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 3810999799052

Question
In Linux, create a soft/symbolic link called mysoftlink from file kevintest.txt.
Answer
ln -s kevintest.txt mysoftlink
^^ Note the order, first the original file, then the link

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill
15. Symbolic and Hard Links
reference to another file. It can even contain a reference to a directory. In either case, programs operating on the link will actually see the file or directory it points to. Try 5 mkdir mydir <span>ln -s mydir mydir2 ls -al . touch ./mydir/file1 touch ./mydir2/file2 ls -al ./mydir ls -al ./mydir2 The directory mydir2 is a symbolic link to mydir2 and appears as though it is a replica of the original.







Flashcard 3811003469068

Question
In linux, create a hardlink called myhardlink from file kevintest.txt.
Answer
ln kevintest.txt myhardlink
^^ Note the order, first the original file, then the link

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill
15. Symbolic and Hard Links
than one name in separate places in the same file system. Such a file with more than one name for the same data is called a hard-linked file and is similar to a symbolic link. Try touch mydata <span>ln mydata mydataB ls -al The files mydata and mydataB are indistinguishable. They share the same data, and have a 2 in second column of the ls -al listing. This means that they are hard-linked twice (tha







Flashcard 3811006614796

Question
In linux, describe the difference between a hardlink and a soft/symbolic link, in terms of the inode concept.
Answer
Hardlink is same inode (datastructure with unique id that describes the file) for two different filenames, the initial filename and the link (so both file names point to same disk block), whereas softlink is two different inodes (and disk blocks) where the link is just a pointer to the original file name.

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 3811010022668

Question
In linux, a [...] link is two filenames pointing to the same inode and the same data block.
Answer
hard

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill
15. Symbolic and Hard Links
space you have. Another example is the linking of /dev/cdrom to, say, /dev/hdc so that programs accessing the device file /dev/cdrom (see Chapter 18) actually access the correct IDE drive. 15.2 <span>Hard Links UNIX allows the data of a file to have more than one name in separate places in the same file system. Such a file with more than one name for the same data is called a hard-linked file







Flashcard 3811013168396

Question
In linux, a [...] link includes two inodes (and therefore two different blocks of disk space), one contains the actual data of the file, the other serves as just a pointer to the first file.
Answer
Soft/Symbolic

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill
15. Symbolic and Hard Links
mare. Also consider a document that must be present in many directories, but which would be easier to update at one point. The way two (or more) files can have the same data is with links. 15.1 <span>Soft Links To demonstrate a soft link, try the following: 5 10 touch myfile ln -s myfile myfile2 ls -al cat > myfile a few lines of text ^D cat myfile cat myfile2 Notice that the ls -al listing







Flashcard 3811016314124

Question
In linux, [...] links can be used across file systems, even on different computers.
Answer
symbolic/soft

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 3811018935564

Question
In linux, deleting or moving a target file for a [...] link makes that link useless, but not the same for [...] links. (looking for two different words for first occulsion vs second)
Answer
soft/symbolic....hard

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill