![]() |
||
|
Linux 指令篇:設備管理--rdev名稱: rdev 使用權限: 所有使用者 使用方式: 使用這個指令的基本方式是: rdev [-rsvh ] [-o offset ] [ image [value [ offset ] ] ] 但是隨著使用者想要設定的參數的不同,底下的方式也是一樣: 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 可以用來取得或是設定開機核心影像檔(kernel image)的各項參數,像是: root device swap device RAM disk video mode 參數: -r -s -v -h -o 范例: uptime 其結果為: 10:41am up 5 days, 10 min, 1 users, load average: 0.00, 0.00, 1.99 |