Skip to content

emmakat/findopticaldrives

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

collection of things to help manage optical drives on ubuntu.

lsscsi -g

lsscsi -g

credit: https://stromasys.atlassian.net/wiki/spaces/DocCHVAXv49L/pages/347537456/Finding+the+target+dev+sg+device
lsscsi -g

ls -l

ls -l
ls -l /dev/disk/by-id| grep sr[0-9]$|tr -s ' ' ' '|cut -d ' ' -f 9,11 |sort -k2|grep -e \^a -e \^u|sed 's#../..#/dev#'  

credit: https://ubuntuforums.org/showthread.php?t=2237670 ls-s

lsblk -i -o:

lsblk -i -o kname,mountpoint,fstype,size,maj:min,name,state,rm,rota,ro,type,label,model,serial

credit: https://serverfault.com/questions/190685/whats-the-best-way-to-get-info-about-currently-unmounted-drives lsblk

About

find all ur optical drives!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published