Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1231710

Bug#1095134: udev: please add support for /dev/megaraid_sas_ioctl_node

From Luca Boccassi <bluca@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1095134: udev: please add support for /dev/megaraid_sas_ioctl_node
Date 2025-02-04 10:30 +0100
Message-ID <KcnpL-eiov-1@gated-at.bofh.it> (permalink)
References <Kcmk1-ehEH-5@gated-at.bofh.it> <Kcmk1-ehEH-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Control: tags -1 upstream
Control: close -1

On Tue, 04 Feb 2025 19:09:56 +1100 Russell Coker <russell@coker.com.au>
wrote:
> Package: udev
> Version: 257.2-3
> Severity: normal
> 
> The following are 2 options I tried in
/etc/udev/rules.d/99mega.rules:
> DEVPATH=="/module/megaraid_sas" RUN+="/usr/local/sbin/mega"
> DRIVER=="megaraid_sas" RUN+="/usr/local/sbin/mega"
> 
> I don't know which of them is preferred but they both work.  Below is
the
> script I use to create the device node, the restorecon line is needed
for
> correct SE Linux labelling and won't cause any harm if restorecon
isn't
> installed or if SE Linux is disabled.
> 
> #!/bin/bash
> set -e
> test -e /sys/kernel/debug/megaraid_sas
> grep -o -P '^\d\d\d(?= megaraid_sas_ioctl)' /proc/devices > /dev/null
> 
> [[ -e /dev/megaraid_sas_ioctl_node ]] || mknod
/dev/megaraid_sas_ioctl_node c `grep -o -P '^\d\d\d(?=
megaraid_sas_ioctl)' /proc/devices` 0
> [ -x /sbin/restorecon ] && /sbin/restorecon
/dev/megaraid_sas_ioctl_node

Sorry, but in "megaraid_sas_ioctl_node", I just about know one or two
of those words. I really don't know what this is and it means to enable
it, and it's not something to do downstream, so please file an upstream
RFE with more details and the use case. Thanks.

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#1095134: udev: please add support for /dev/megaraid_sas_ioctl_node Russell Coker <russell@coker.com.au> - 2025-02-04 09:20 +0100
  Bug#1095134: udev: please add support for /dev/megaraid_sas_ioctl_node Luca Boccassi <bluca@debian.org> - 2025-02-04 10:30 +0100

csiph-web