TAILIEUCHUNG - Running Linux phần 3

Tham khảo tài liệu 'running linux phần 3', ngoại ngữ, ngữ pháp tiếng anh phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Chapter 6. Managing Filesystems Swap Space and Devices The mount command is used to do this and usually must be executed as root. As we ll see later ordinary users can use mount if the device is listed in the etc fstab file. The format of this command is mount -t type device mount-point where type is the type name of the filesystem as given in Table 6-1 device is the physical device where the filesystem resides the device file in dev and mount-point is the directory on which to mount the filesystem. You have to create the directory before issuing mount. For example if you have a Second Extended filesystem on the partition dev hda2 and wish to mount it on the directory mnt use the command mount -t ext2 dev hda2 mnt If all goes well you should be able to access the filesystem under mnt. Likewise to mount a floppy that was created on a Windows system and therefore is in DOS format you use the command mount -t msdos dev fd0 mnt This makes the files available on an MS-DOS-format floppy under mnt. Note that using msdos means that you use the old DOS format that is limited to filenames of 8 plus 3 characters. If you use vfat instead you get the newer format that was introduced with Windows 95. Of course the floppy or hard disk needs to be written with that format as well. There are many options to the mount command which can be specified with the -o switch. For example the MS-DOS and ISO 9660 filesystems support autoconversion of text files from MS-DOS format which contain CR-LF at the end of each line to Unix format which contain merely a newline at the end of each line . Using a command such as mount -o conv auto -t msdos dev fd0 mnt turns on this conversion for files that don t have a filename extension that could be associated with a binary file such as .exe .bin and so forth . One common option to mount is -o ro or equivalently -r which mounts the filesystem as read-only. All write access to such a filesystem is met with a permission denied error. Mounting a .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.