Linux 指令篇:設(shè)備管理--rdev名稱: rdev 使用權(quán)限: 所有使用者 使用方式: 使用這個(gè)指令的基本方式是: rdev [-rsvh ] [-o offset ] [ image [value [ offset ] ] ] 但是隨著使用者想要設(shè)定的參數(shù)的不同,底下的方式也是一樣: rdev [ -o offset ] [ image [ root_device [ offset ] ] ] swapdev [ -o offset ] [ image [ swap_device [ offset ] ] ] ramsize [ -o offset ] [ image [ size [ offset ] ] ] videomode [ -o offset ] [ image [ mode [ offset ] ] ] rootflags [ -o offset ] [ image [ flags [ offset ] ] ] 說明: rdev 可以用來取得或是設(shè)定開機(jī)核心影像檔(kernel image)的各項(xiàng)參數(shù),像是: root device swap device RAM disk video mode 參數(shù): -r -s -v -h -o 范例: uptime 其結(jié)果為: 10:41am up 5 days, 10 min, 1 users, load average: 0.00, 0.00, 1.99 |