mastouille.fr est l'un des nombreux serveurs Mastodon indépendants que vous pouvez utiliser pour participer au fédiverse.
Mastouille est une instance Mastodon durable, ouverte, et hébergée en France.

Administré par :

Statistiques du serveur :

645
comptes actifs

#QNAP

0 message0 participant0 message aujourd’hui
A répondu dans un fil de discussion

@AugierLe42e I assume that port is fixed to a specific USB Hub / Controller / Port and the button is similarly linked to some GPIO / I²C / PS/2 port...

  • What you can do is check lsusb for #USB devices and see if the specific port in question has a USB mass storage device or SATA bridge chip attached to it when said button is pressed.

If #QNAP used #Linux they should've provided those drivers / scripts as part of their #GPLv2 obligations to buyers/owners of said #NAS boxes.

  • Just don't expect any of that code to be useable, as @landley can attest from the #BusyBox license enforcement…

Either way if you can reliably identify the port & detect the button presses that should be sufficient to build like a #bash or #python script to basically detect the drive, mount it and cp -r /dev/$DRIVE/ /home/copied_drives/$LABEL/

  • It may need some fiddling and will most likely only work reliably on unencrypted drives with ext2-ext4, btrfs, ntfs, fat32, exfat filesystems...

Pretty shure you'll have to tweak a bit unless you want to use /dev/by-uuid/$UUID and the UUIDs of the partitions as name...

Quelle interface de merde ce QNAP !
Ça a été un peu galère d'ajouter un disque à la grappe RAID mais avec un peu d'aide en ligne de commande, on y arrive !

Array Size : 11971.78 GB
Number Major Minor RaidDevice State
4 8 35 0 active sync /dev/sdc3
5 8 3 1 active sync /dev/sda3
3 8 51 2 active sync /dev/sdd3
6 8 19 3 active sync /dev/sdb3

#NAS maker does a #CrowdStrike⁠—cleanup on /dev/dsk/c1t2d3s4 please

Storage queens #QNAP squashed some vulns last week, but the cure was worse than the disease. After applying the update, users found they couldn’t log in to their networked disk arrays, nor use many of the products’ features.

The firm stresses that the problems only affected some of its products. In #SBBlogwatch, we’re thankful for small mercies. At @TechstrongGroup⁠’s @SecurityBlvd: securityboulevard.com/2024/11/

Security Boulevard · QNAP’s Buggy Security Fix Causes ChaosRAID FAIL: NAS Maker does a CrowdStrike—cleanup on /dev/dsk/c1t2d3s4 please